package com.assignwork.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * JobConfig
 */
@Data
@TableName("job_config")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "JobConfig对象", description = "作业配置")
public class JobConfig extends BaseEntity {

    /** 作业节点类型 */
    @ApiModelProperty(value = "作业节点类型")
    private String workNodeTypeKey;
    
    /** 作业对组ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业对组ID")
    private Long workGroupId;
    
    /** 作业数量 */
    @ApiModelProperty(value = "作业数量")
    private Integer workNumber;
    
    /** 作业线ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业线ID")
    private Long lineId;

    private Long planId;

    /** 是否为实际 */
    @ApiModelProperty(value = "是否为实际")
    private Integer isReal;
    
}